import request from '@/request/index';

export function uploadFile(body) {
  return request({
    url: '/api/files/upload',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: body
  });
}
